﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS.Infrastructure.Dto.Response.Order
{
    /// <summary>
    /// 订单查询响应数据传输对象
    /// </summary>
    public class OrderQueryResponseDto
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string? OrderCode { get; set; }

        /// <summary>
        /// 订单金额
        /// </summary>
        public long OrderAmount { get; set; }

        /// <summary>
        /// 订单类型
        /// </summary>
        public int OrderType { get; set; }

        /// <summary>
        /// 支付金额
        /// </summary>
        public long? PayAmount { get; set; }

        /// <summary>
        /// 优惠券实例ID
        /// </summary>
        public string? CouponInstanceId { get; set; }

        /// <summary>
        /// 优惠金额
        /// </summary>
        public long? DiscountAmount { get; set; }

        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime? PaymentTime { get; set; }

        /// <summary>
        /// 支付状态
        /// </summary>
        public int? PaymentStatus { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }


        /// <summary>
        /// 支付方式(1=微信，2=支付宝)
        /// </summary>
        public string? PayMethod { get; set; }

        /// <summary>
        /// 门店名称
        /// </summary>
        public string? StoreName { get; set; }

        /// <summary>
        /// 收款码名称
        /// </summary>
        public string? CodeName { get; set; }

        /// <summary>
        /// 订单快照
        /// </summary>
        public string? OrderSnapshot { get; set; }

        /// <summary>
        /// 累计退款金额
        /// </summary>
        public long? TotalRefundAmount { get; set; }
    }
}
